package com.example.test.domain.mapper;

import com.example.test.domain.entity.ArticleModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<ArticleModel> selectAll(String title,String categoryName);
    int addArticle(ArticleModel articleModel);
    int deleteArticleById(long id);
    int updateArticleById(ArticleModel articleModel);
}
